package com.bms.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 实体类：日志
 * 
 * @author Lan
 */
@Entity
@Table(name = "T_LOG")
public class Log extends BaseEntity {

	private static final long serialVersionUID = -6853683836076041636L;

	private String logUser;
	private String description;

	// 搜索条件
	private String startDate;
	private String endDate;

	/**
	 * @return 日志用户
	 */
	@Column(length = 20)
	public String getLogUser() {
		return logUser;
	}

	/**
	 * @param logUser
	 *            日志用户
	 */
	public void setLogUser(String logUser) {
		this.logUser = logUser;
	}

	/**
	 * @return 日志描述
	 */
	@Column(length = 500)
	public String getDescription() {
		return description;
	}

	/**
	 * @param description
	 *            日志描述
	 */
	public void setDescription(String description) {
		this.description = description;
	}

	@Transient
	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	@Transient
	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

}
